﻿CREATE PROCEDURE GetGellery

AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	select  top 5 '1' as gelleryid, 'Sample Property' as GelleryTitle,SmallURL  from aw_picture 
union all
select top 5 '2' as gelleryid, 'Good Investment' as GelleryTitle,SmallURL  from aw_picture 
where createdate > '2015-05-10'
END
